import TencentMap from "../components/tencent-map.vue"
import HomePage from "../components/home-page.vue"
import LocationPage from "../components/location-page.vue"
import ImagePick from "../components/image-pick.vue";
import EasydlPage from "../components/easydl-page.vue";

const routes = [
    {
        path: "/",
        redirect: "/home"
    },
    {
        path: "/home",
        component: HomePage,
    },
    {
        path: "/map",
        component: TencentMap,
    },{
        path: "/location",
        component: LocationPage,
    },
    {
        path: "/image",
        component: ImagePick,
    },
    {
        path: "/easydl",
        component: EasydlPage,
    },  {
        path: '/routes',
        name: 'RouteManagement',
        component: () => import('../components/route-management.vue')
      }
    
]

export default routes